package com.hkts.management.drivercomment.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Transient;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author hml
 * @since 2021-05-20
 */
@Data
@ApiModel(value = "司机评论")
public class DriverComment extends Model<DriverComment> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private String id;
    /**
     * 司机id
     */
    @ApiModelProperty(value = "司机id")
    private String driverId;
    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id")
    private String orderId;
    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    private String content;
    /**
     * 分数
     */
    @ApiModelProperty(value = "分数")
    private Integer score;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @Transient
    @TableField(exist=false)
    private Integer orderStatus;

}
